package com.sinothk.gpserver.modules.texasPoker.helper.compare;

import java.util.ArrayList;

/**
 * 编写 Liang Y.T.
 * 时间 2021/7/2 15:23
 */
public class Test {

    public static void main(String[] args) {
//        同花顺＞铁支＞葫芦＞同花＞顺子＞三条＞两对＞对子＞散牌



        ArrayList<Pai> otherList = new ArrayList<>();
        otherList.add(new Pai(2, "h"));
        otherList.add(new Pai(3, "h"));
        otherList.add(new Pai(5, "h"));
        otherList.add(new Pai(6, "h"));
        otherList.add(new Pai(8, "h"));

        ArrayList<Pai> myList = new ArrayList<>();
        myList.add(new Pai(4, "h"));
        myList.add(new Pai(4, "s"));
        myList.add(new Pai(4, "c"));
        myList.add(new Pai(5, "d"));
        myList.add(new Pai(5, "h"));

        String result = CompareForTexas.compare(otherList, myList);
        System.out.println(result);
    }

}
